package com.gable.exhibition.service;

import com.gable.common.util.ReturnResultUtil;
import com.gable.exhibition.model.Part;
import com.gable.exhibition.model.User;
import com.gable.exhibition.view.PartView;

import java.util.List;

/**
 * Created by Lesson on 2018/3/2.
 */
public interface PartService {

    /**
     * 批量操作配件信息
     * @param list
     * @param user
     * @Create user jacky
     * @Create date 2018/3/2
     * @return
     */
    ReturnResultUtil savePartByBatch(List<PartView> list, User user,Long keyId,Long keyType);

    ReturnResultUtil queryPart(PartView partView);

}
